package com.gitee.blogcase.dealyqueuecase.utils;

import java.text.SimpleDateFormat;
import java.util.Date;

public class DateUtil {
    public static final String DEFAULT_DATE_FORMT = "yyyy-MM-dd HH:mm:ss";

    public static String getCuurentDateStr(){
        SimpleDateFormat f = new SimpleDateFormat(DEFAULT_DATE_FORMT);
        return f.format(new Date());
    }
}
